mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 21:50:18 +02:00
Fixes stickman wall bug and version number
This commit is contained in:
4
powder.c
4
powder.c
@@ -2151,7 +2151,7 @@ void update_particles_i(pixel *vid, int start, int inc){
|
|||||||
r = pmap[(int)(player[8]-ny)][(int)(player[7]+0.5)]; //This is to make coding more pleasant :-)
|
r = pmap[(int)(player[8]-ny)][(int)(player[7]+0.5)]; //This is to make coding more pleasant :-)
|
||||||
|
|
||||||
//For left leg
|
//For left leg
|
||||||
if (r && (r>>8)<NPART && (r&0xFF)!=PT_STKM)
|
if (r && (r&0xFF)!=PT_STKM)
|
||||||
{
|
{
|
||||||
if(pstates[r&0xFF].state == ST_LIQUID || pstates[r&0xFF].state == ST_GAS) //Liquid checks
|
if(pstates[r&0xFF].state == ST_LIQUID || pstates[r&0xFF].state == ST_GAS) //Liquid checks
|
||||||
{
|
{
|
||||||
@@ -2173,7 +2173,7 @@ void update_particles_i(pixel *vid, int start, int inc){
|
|||||||
r = pmap[(int)(player[16]-ny)][(int)(player[15]+0.5)];
|
r = pmap[(int)(player[16]-ny)][(int)(player[15]+0.5)];
|
||||||
|
|
||||||
//For right leg
|
//For right leg
|
||||||
if (r && (r>>8)<NPART && (r&0xFF)!=PT_STKM)
|
if (r && (r&0xFF)!=PT_STKM)
|
||||||
{
|
{
|
||||||
if(pstates[r&0xFF].state == ST_LIQUID || pstates[r&0xFF].state == ST_GAS)
|
if(pstates[r&0xFF].state == ST_LIQUID || pstates[r&0xFF].state == ST_GAS)
|
||||||
{
|
{
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
#define SAVE_VERSION 40
|
#define SAVE_VERSION 40
|
||||||
#define MINOR_VERSION 0
|
#define MINOR_VERSION 2
|
||||||
#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter.
|
#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter.
|
||||||
|
|
||||||
#define MENUV3
|
#define MENUV3
|
||||||
|
Reference in New Issue
Block a user