]> git.lizzy.rs Git - mt.git/blobdiff - tocltcmds.go
Add support for DamageEffect in ToCltHP
[mt.git] / tocltcmds.go
index 9563bc898dd4dd2fd30982acc3e794fa98d20b48..54ab78853c83df2abd9531d4ad52b042a9d19e9b 100644 (file)
@@ -233,6 +233,8 @@ type ToCltAOMsgs struct {
 // ToCltHP updates the player's HP on the client.
 type ToCltHP struct {
        HP uint16
+       //mt:opt
+       DamageEffect bool
 }
 
 // ToCltMovePlayer tells the client that the player has been moved server-side.