Removed static cheat.
This commit is contained in:
parent
cdb0230bc7
commit
60261932b0
|
@ -60,7 +60,6 @@ typedef struct {
|
|||
int cheatReload;
|
||||
int cheatBlind;
|
||||
int cheatNoEnemies;
|
||||
int cheatStatic;
|
||||
int fps;
|
||||
} Dev;
|
||||
|
||||
|
|
|
@ -97,13 +97,6 @@ void doEntities(void)
|
|||
|
||||
for (self = world.entityHead.next ; self != NULL ; self = self->next)
|
||||
{
|
||||
if (dev.cheatStatic && self != (Entity*)world.bob)
|
||||
{
|
||||
self->isVisible = 1;
|
||||
world.bob->flags |= (EF_WEIGHTLESS | EF_NO_CLIP);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (self->w == 0 || self->h == 0)
|
||||
{
|
||||
r = &self->sprite[0]->frames[0]->rect;
|
||||
|
|
|
@ -100,6 +100,7 @@ extern int isLiquid(int x, int y);
|
|||
extern int isOnScreen(Entity *e);
|
||||
extern int isSolid(int x, int y);
|
||||
extern int isWalkable(int x, int y);
|
||||
extern float limit(float i, float a, float b);
|
||||
extern void limitTextWidth(int width);
|
||||
extern void loadMusic(char *filename);
|
||||
extern void loadWorld(char *id);
|
||||
|
@ -116,7 +117,6 @@ extern int rrnd(int low, int high);
|
|||
extern void showWidgetGroup(char *group);
|
||||
extern void startSectionTransition(void);
|
||||
extern void stopMusic(void);
|
||||
extern float limit(float i, float a, float b);
|
||||
|
||||
extern App app;
|
||||
extern Camera camera;
|
||||
|
|
Loading…
Reference in New Issue