Skip to content

Commit

Permalink
Oops, entity_flags are offset by 8 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
matpow2 committed Jun 20, 2014
1 parent febceb0 commit 43e20ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions koth/scripts/kingofthehill.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def start(self, location):
entity.hostile_type = 2
entity.entity_type = 138

entity.appearance.flags = 1
entity.appearance.flags = 1 << 8
entity.appearance.scale.set(3.0, 3.0, 4.0)
entity.appearance.body_model = 2565
entity.appearance.head_scale = 0.0
Expand Down Expand Up @@ -559,7 +559,7 @@ def start(self, location):
dummy.hp = 10000000000
dummy.power_base = 1
dummy.name = "KOTHDummy!"
dummy.appearance.flags = 1
dummy.appearance.flags = 1 << 8

self.event_dummy = dummy
self.event_dummy_id = 1001
Expand Down Expand Up @@ -587,7 +587,7 @@ def start(self, location):

radius_entity.appearance.scale.set(1.0, 1.0, 1.5)
radius_entity.appearance.body_offset.set(0, 0, 0)
radius_entity.appearance.flags = 1
radius_entity.appearance.flags = 1 << 8
radius_entity.appearance.body_model = 2475
radius_entity.appearance.head_scale = 0.0
radius_entity.appearance.hand_scale = 0.0
Expand Down

0 comments on commit 43e20ad

Please sign in to comment.