Skip to content

Commit

Permalink
May fix KozGit#303
Browse files Browse the repository at this point in the history
Lots of my crash comes with "read access violation" of spawnId. Try to init it to avoid crash. Difficult to reproduce
  • Loading branch information
NPi2Loup committed Mar 11, 2020
1 parent 026f975 commit 46e2c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/d3xp/Game_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class idEntityPtr
int GetEntityNum() const;

private:
int spawnId;
int spawnId = 0;
};

struct timeState_t
Expand Down

0 comments on commit 46e2c57

Please sign in to comment.