From 7b1f3ce72b99852738b84e5ec7f6e49bf3c639d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 3 Apr 2011 21:43:16 +0200 Subject: [PATCH] Job ID is a Word, not DWord. --- library/modules/Creatures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/Creatures.cpp b/library/modules/Creatures.cpp index e2eda62df..13374e6f3 100644 --- a/library/modules/Creatures.cpp +++ b/library/modules/Creatures.cpp @@ -358,7 +358,7 @@ bool Creatures::ReadCreature (const int32_t index, t_creature & furball) { furball.current_job.active = true; 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 {