Commit 8339bb88 authored by Red Bot's avatar Red Bot

Merge branch 'patch-38' into 'master'

Update MQ2Melee.cpp

See merge request !108
parents 7fcb6a1d 7c8b0bdc
......@@ -1447,7 +1447,10 @@ static inline int SpawnType(PSPAWNINFO x, unsigned long mask) {
}
static inline PSPAWNINFO SpawnMe() {
return GetCharInfo()->pSpawn;
if(pCharSpawn) {
return (PSPAWNINFO)pCharSpawn;
}
return NULL;
}
static inline PSPAWNINFO SpawnMount() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment