Fix up warnings (mostly loss of data cast warnings). When an ability gets interrupted, the key is required to be depressed before another cast attempt can be made. Added collision layer tiles to a few tiles in 1-1 due to ability to walk out-of-bounds.
This commit is contained in:
+2
-2
@@ -51,11 +51,11 @@ float util::degToRad(float deg){
|
||||
}
|
||||
|
||||
float util::radToDeg(float rad){
|
||||
return rad*57.2957795130823208767;
|
||||
return rad*57.2957795130823208767f;
|
||||
}
|
||||
|
||||
float util::lerp(float n1,float n2,double t){
|
||||
return n1*(1-t)+n2*t;
|
||||
return float(n1*(1-t)+n2*t);
|
||||
}
|
||||
|
||||
std::string util::timerStr(float time){
|
||||
|
||||
Reference in New Issue
Block a user