Bug 4055 - Marauder zap damage deoends on sv_fps
Status: RESOLVED FIXED
Alias: None
Product: Tremulous
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Tim Angus
QA Contact: Tremulous Bugs
URL:
Depends on:
Blocks:
 
Reported: 2009-05-04 19:37 EDT by Graziano Panzera
Modified: 2009-10-07 22:20:13 EDT
1 user (show)

See Also:


Attachments
damage fix patch (1.14 KB, application/octet-stream)
2009-05-04 19:37 EDT, Graziano Panzera

Description Graziano Panzera 2009-05-04 19:37:41 EDT
Created attachment 2051 [details]
damage fix patch

I found that on all qvm ( from 1.1.0 to latest svn ) marauder zap damages depends on sv_fps qvar on server.
For example with sv_fps@20 ( default ) does 20 dmg to an armored human in 1 sec, with fps@40 40 dmg in 1/2 sec, with fps@80 80dmg in 1/4 sec.
I fixed it adding timing into zap damage funcion.
Patch attached.
Comment 1 Chris "Lakitu7" Schwarz 2009-10-07 22:20:13 EDT
This has been fixed (albeit by coincidence) somewhere during the recent merge, wherein zap damage was made to no longer be time-dependent.