Skip to content

Commit

Permalink
Fixed: Uninitialized variable in "spawnmobj" ccmd which would result …
Browse files Browse the repository at this point in the history
…in mobjs always being spawned at ceiling.
  • Loading branch information
danij-deng committed Nov 8, 2009
1 parent bb0999a commit f4a79c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doomsday/plugins/common/src/p_player.c
Expand Up @@ -1142,11 +1142,11 @@ DEFCC(CCmdCycleSpy)

DEFCC(CCmdSpawnMobj)
{
mobjtype_t type;
float pos[3];
mobj_t* mo;
angle_t angle;
int spawnFlags;
mobjtype_t type;
float pos[3];
mobj_t* mo;
angle_t angle;
int spawnFlags = 0;

if(argc != 5 && argc != 6)
{
Expand Down

0 comments on commit f4a79c1

Please sign in to comment.