Job ID is a Word, not DWord.

develop
Petr Mrázek 2011-04-03 21:43:16 +02:00
parent 8b8c70b5ff
commit 7b1f3ce72b
1 changed files with 1 additions and 1 deletions

@ -358,7 +358,7 @@ bool Creatures::ReadCreature (const int32_t index, t_creature & furball)
{ {
furball.current_job.active = true; furball.current_job.active = true;
furball.current_job.jobType = p->readByte (furball.current_job.occupationPtr + offs.job_type_offset ); furball.current_job.jobType = p->readByte (furball.current_job.occupationPtr + offs.job_type_offset );
furball.current_job.jobId = p->readDWord (furball.current_job.occupationPtr + offs.job_id_offset); furball.current_job.jobId = p->readWord (furball.current_job.occupationPtr + offs.job_id_offset);
} }
else else
{ {